package com.wwj.dao;

import com.wwj.pojo.Blog;
import org.apache.ibatis.annotations.*;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface BlogMapper {

    //添加博客
    int addBlog(Blog blog);
    //查询博客-if
    List<Blog> queryBlogIF(Map map);
    //查询博客choose
    List<Blog> queryBlogChoose(Map map);

    //更新博客
    int updateBlog(HashMap blog);








}